
#pragma warning( disable: 4049 )  /* more than 64k source lines */

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0347 */
/* at Mon Mar 03 13:37:27 2008
 */
/* Compiler settings for \svn\fp-ce\trunk\Src\XForms\MustUnderstand\mustunderstand.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __mustunderstand_h__
#define __mustunderstand_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __INamespace_FWD_DEFINED__
#define __INamespace_FWD_DEFINED__
typedef interface INamespace INamespace;
#endif 	/* __INamespace_FWD_DEFINED__ */


#ifndef __IUnderstander_FWD_DEFINED__
#define __IUnderstander_FWD_DEFINED__
typedef interface IUnderstander IUnderstander;
#endif 	/* __IUnderstander_FWD_DEFINED__ */


#ifndef __Namespace_FWD_DEFINED__
#define __Namespace_FWD_DEFINED__

#ifdef __cplusplus
typedef class Namespace Namespace;
#else
typedef struct Namespace Namespace;
#endif /* __cplusplus */

#endif 	/* __Namespace_FWD_DEFINED__ */


#ifndef __Understander_FWD_DEFINED__
#define __Understander_FWD_DEFINED__

#ifdef __cplusplus
typedef class Understander Understander;
#else
typedef struct Understander Understander;
#endif /* __cplusplus */

#endif 	/* __Understander_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

#ifndef __INamespace_INTERFACE_DEFINED__
#define __INamespace_INTERFACE_DEFINED__

/* interface INamespace */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_INamespace;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("A3BBCAA9-D1DF-4AF1-BF1E-1581265E5F2C")
    INamespace : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddElement( 
            /* [in] */ BSTR sName) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveElement( 
            /* [in] */ BSTR sName) = 0;
        
        virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NamespaceURI( 
            /* [retval][out] */ BSTR *pVal) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HasElement( 
            /* [in] */ BSTR sElementName,
            /* [retval][out] */ BOOL *bHasElement) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct INamespaceVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            INamespace * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            INamespace * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            INamespace * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            INamespace * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            INamespace * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            INamespace * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            INamespace * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddElement )( 
            INamespace * This,
            /* [in] */ BSTR sName);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveElement )( 
            INamespace * This,
            /* [in] */ BSTR sName);
        
        /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NamespaceURI )( 
            INamespace * This,
            /* [retval][out] */ BSTR *pVal);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HasElement )( 
            INamespace * This,
            /* [in] */ BSTR sElementName,
            /* [retval][out] */ BOOL *bHasElement);
        
        END_INTERFACE
    } INamespaceVtbl;

    interface INamespace
    {
        CONST_VTBL struct INamespaceVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define INamespace_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define INamespace_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define INamespace_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define INamespace_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define INamespace_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define INamespace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define INamespace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define INamespace_AddElement(This,sName)	\
    (This)->lpVtbl -> AddElement(This,sName)

#define INamespace_RemoveElement(This,sName)	\
    (This)->lpVtbl -> RemoveElement(This,sName)

#define INamespace_get_NamespaceURI(This,pVal)	\
    (This)->lpVtbl -> get_NamespaceURI(This,pVal)

#define INamespace_HasElement(This,sElementName,bHasElement)	\
    (This)->lpVtbl -> HasElement(This,sElementName,bHasElement)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INamespace_AddElement_Proxy( 
    INamespace * This,
    /* [in] */ BSTR sName);


void __RPC_STUB INamespace_AddElement_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INamespace_RemoveElement_Proxy( 
    INamespace * This,
    /* [in] */ BSTR sName);


void __RPC_STUB INamespace_RemoveElement_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE INamespace_get_NamespaceURI_Proxy( 
    INamespace * This,
    /* [retval][out] */ BSTR *pVal);


void __RPC_STUB INamespace_get_NamespaceURI_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE INamespace_HasElement_Proxy( 
    INamespace * This,
    /* [in] */ BSTR sElementName,
    /* [retval][out] */ BOOL *bHasElement);


void __RPC_STUB INamespace_HasElement_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __INamespace_INTERFACE_DEFINED__ */


#ifndef __IUnderstander_INTERFACE_DEFINED__
#define __IUnderstander_INTERFACE_DEFINED__

/* interface IUnderstander */
/* [unique][helpstring][nonextensible][dual][uuid][object] */ 


EXTERN_C const IID IID_IUnderstander;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("8FA2CE9B-41B4-49D6-8612-1833F01A9EA3")
    IUnderstander : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Understands( 
            /* [in] */ BSTR sNamespace,
            /* [in] */ BSTR sElementName,
            /* [retval][out] */ BOOL *bCanUnderstand) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetNamespace( 
            /* [in] */ BSTR sURI,
            /* [retval][out] */ INamespace **ppNamespace) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddNamespace( 
            /* [in] */ INamespace *pNamespace) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveNamespace( 
            /* [in] */ BSTR sURI) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IUnderstanderVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IUnderstander * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IUnderstander * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IUnderstander * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IUnderstander * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IUnderstander * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IUnderstander * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IUnderstander * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Understands )( 
            IUnderstander * This,
            /* [in] */ BSTR sNamespace,
            /* [in] */ BSTR sElementName,
            /* [retval][out] */ BOOL *bCanUnderstand);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetNamespace )( 
            IUnderstander * This,
            /* [in] */ BSTR sURI,
            /* [retval][out] */ INamespace **ppNamespace);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddNamespace )( 
            IUnderstander * This,
            /* [in] */ INamespace *pNamespace);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveNamespace )( 
            IUnderstander * This,
            /* [in] */ BSTR sURI);
        
        END_INTERFACE
    } IUnderstanderVtbl;

    interface IUnderstander
    {
        CONST_VTBL struct IUnderstanderVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IUnderstander_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IUnderstander_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IUnderstander_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IUnderstander_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IUnderstander_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IUnderstander_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IUnderstander_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IUnderstander_Understands(This,sNamespace,sElementName,bCanUnderstand)	\
    (This)->lpVtbl -> Understands(This,sNamespace,sElementName,bCanUnderstand)

#define IUnderstander_GetNamespace(This,sURI,ppNamespace)	\
    (This)->lpVtbl -> GetNamespace(This,sURI,ppNamespace)

#define IUnderstander_AddNamespace(This,pNamespace)	\
    (This)->lpVtbl -> AddNamespace(This,pNamespace)

#define IUnderstander_RemoveNamespace(This,sURI)	\
    (This)->lpVtbl -> RemoveNamespace(This,sURI)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUnderstander_Understands_Proxy( 
    IUnderstander * This,
    /* [in] */ BSTR sNamespace,
    /* [in] */ BSTR sElementName,
    /* [retval][out] */ BOOL *bCanUnderstand);


void __RPC_STUB IUnderstander_Understands_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUnderstander_GetNamespace_Proxy( 
    IUnderstander * This,
    /* [in] */ BSTR sURI,
    /* [retval][out] */ INamespace **ppNamespace);


void __RPC_STUB IUnderstander_GetNamespace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUnderstander_AddNamespace_Proxy( 
    IUnderstander * This,
    /* [in] */ INamespace *pNamespace);


void __RPC_STUB IUnderstander_AddNamespace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IUnderstander_RemoveNamespace_Proxy( 
    IUnderstander * This,
    /* [in] */ BSTR sURI);


void __RPC_STUB IUnderstander_RemoveNamespace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IUnderstander_INTERFACE_DEFINED__ */



#ifndef __mustunderstandLib_LIBRARY_DEFINED__
#define __mustunderstandLib_LIBRARY_DEFINED__

/* library mustunderstandLib */
/* [helpstring][version][uuid] */ 


EXTERN_C const IID LIBID_mustunderstandLib;

EXTERN_C const CLSID CLSID_Namespace;

#ifdef __cplusplus

class DECLSPEC_UUID("1F623DBA-5596-40F1-B134-A153CEEA984F")
Namespace;
#endif

EXTERN_C const CLSID CLSID_Understander;

#ifdef __cplusplus

class DECLSPEC_UUID("EFC3BA3D-16B8-4912-82D5-F768AF62C555")
Understander;
#endif
#endif /* __mustunderstandLib_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


